﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
   <#include "../comm/header.ftl"/>
    <link href="${req.contextPath}/lib/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="${req.contextPath}/js/bootstrap/css/bootstrap.css" type="text/css" />
    <#--<script src="${req.contextPath}/ligerUIlib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>-->
    <script src="${req.contextPath}/lib/jquery-validation/jquery.validate.min.js"></script>
    <script src="${req.contextPath}/lib/jquery-validation/jquery.metadata.js"></script>
    <script src="${req.contextPath}/lib/jquery-validation/messages_cn.js"></script>
    <script src="${req.contextPath}/js/plugins/jquery-form/jquery.form.js"></script>
    <script>
        var grid = null;//表格对象
        $(function () {
            //grid
            grid = $("#system_dictionary_item_msg").ligerGrid({
                height: '100%',
                heightDiff: -5,
                root:'list',
                record:'total',
                pageParmName:'currentPage',
                pagesizeParmName:'pageSize',
                dataAction: 'server',
                url: '/systemDictionaryItem/getSystemDictionaryItemData.do?parentId=' + ${(parentId)},
                checkbox:true,
                rownumbers:true,
                columns: [
                    {display: 'id', name: 'id',hide:true},
                    {display: '明细标题', name: 'title'},
                    {display: '明细序列', name: 'sequence'},
                ],
                toolbar: {
                    items: [
                        { text: '添加(未完善)', click: addSystemDictionaryItem, icon: 'refresh'},
                        { line: true },
                        { text: '修改|未完成', click: "", icon: 'modify'}
                    ]
                }
            });


        });

        //添加系统字典目录
        function addSystemDictionaryItem() {

        }


    </script>
</head>
<body style="overflow-x:hidden; padding:2px;">
    <#--可以写一些表头的内容-->
    <div id="system_dictionary_item_msg">
        <#--这里是数据表格-->
    </div>


</body>
</html>